home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Games / EMULATOR / ANESCGFX / ANESCGFX.install < prev    next >
Text File  |  2002-10-27  |  2KB  |  62 lines

  1. ; A/NES CGFX Install-script v2.0
  2. ; Written by Lennart Johannesson & Morgan Johansson
  3.  
  4. (complete 0)
  5.  
  6. ;Install A/NES
  7. (set #Processor
  8. (askchoice
  9.     (prompt "Select version of A/NES CGFX to install:")
  10.     (help    "If you're lucky enough to have a MC68060 processor\n"
  11.         "select the MC68060 option.")
  12.     (choices "MC68020/030/040""MC68060")
  13. )
  14. )
  15.  
  16.  
  17. ;Creates a directory
  18.     (set dest_dir
  19.       (tackon (askdir
  20.                 (prompt "Where do you want to install A/NES CGFX?\n"
  21.                         "A drawer called ANESCGFX will be created.")
  22.                 (help @askdir-help) (default "Work:") (disk) ) "ANESCGFX" )
  23.     )
  24.  
  25.     (set @default-dest dest_dir)
  26.     (makedir dest_dir)
  27. (complete 10)
  28.  
  29.  
  30. ;Copy the correct files.
  31. (working "Copying files, please wait...")
  32.  
  33.  
  34. (if (= #Processor 0)
  35.     (copyfiles (source "ANESCGFX.020") (dest (dest_dir)) (newname "ANESCGFX") (infos) (nogauge))
  36. )
  37.  
  38. (if (= #Processor 1)
  39.     (copyfiles (source "ANESCGFX.060") (dest (dest_dir)) (newname "ANESCGFX") (infos) (nogauge))
  40. )
  41. (complete 30)
  42.  
  43.         (makedir "S:ANESData")
  44.         (makedir "S:ANESData/palette")
  45.     (copyfiles (source "ANESData/palette/") (dest "S:ANESData/palette/") (all) (nogauge))
  46.     (copyfiles (source "ANESCGFX.guide") (dest (dest_dir)) (infos) (nogauge))
  47.     (copyfiles (source "libs/ANESutility.library") (dest "LIBS:") (infos) (nogauge))
  48.     (copyfiles (source "/ANESCGFX.info") (dest (tackon dest_dir "/")) (nogauge))
  49.     (copyfiles (source "fonts/") (dest "FONTS:") (help @copyfiles-help) (all) (nogauge))
  50.  
  51. (complete 100)
  52.  
  53. ;end of installation process
  54.  
  55. (exit    "A/NES CGFX has now been installed!\n"
  56.     "Remember that this software is giftware "
  57.     "which means that if you like it you should "
  58.     "consider donating a gift to the authors "
  59.     "(for more information, read the included documentation)\n"
  60.     "Thanks for supporting us!"
  61. )
  62.